# 打印 时间
function getDistName()
{
    if grep -Eqii "Arch Linux" /etc/issue || grep -Eq "Arch Linux" /etc/*-release; then
        DISTRO='Arch Linux'
        # PM='pacman'
    elif grep -Eqii "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then
        DISTRO='CentOS'
        # PM='yum'
    elif grep -Eqi "Red Hat Enterprise Linux Server" /etc/issue || grep -Eq "Red Hat Enterprise Linux Server" /etc/*-release; then
        DISTRO='RHEL'
        # PM='yum'
    elif grep -Eqi "Aliyun" /etc/issue || grep -Eq "Aliyun" /etc/*-release; then
        DISTRO='Aliyun'
        # PM='yum'
    elif grep -Eqi "Fedora" /etc/issue || grep -Eq "Fedora" /etc/*-release; then
        DISTRO='Fedora'
        # PM='yum'
    elif grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then
        DISTRO='Debian'
        # PM='apt'
    elif grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then
        DISTRO='Ubuntu'
        # PM='apt'
    elif grep -Eqi "Raspbian" /etc/issue || grep -Eq "Raspbian" /etc/*-release; then
        DISTRO='Raspbian'
        # PM='apt'
    else
        DISTRO='unknow'
    fi

    # 返回值
    echo $DISTRO;
}

distroslogoicon_icon="";
# 获取当前系统发行版本
DISTRO=$(getDistName);
# echo $DISTRO;
#    ﭾ
case "$DISTRO" in
    "Arch Linux") distroslogoicon_icon="" ;;
    "Fedora") distroslogoicon_icon="F" ;;
    "Ubuntu") distroslogoicon_icon="U" ;;
    "Debian") distroslogoicon_icon="" ;;
    "Aliyun") distroslogoicon_icon="A" ;;
    "Raspbian") distroslogoicon_icon="R" ;;
    "RHEL") distroslogoicon_icon="R" ;;
    "CentOS") distroslogoicon_icon="C" ;;
    "unknow") distroslogoicon_icon="?" ;;
esac

# distroslogoicon_icon="";

echo $distroslogoicon_icon

# "$@"
